<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .text{
      font-size: 30px;
      color: red;
      font-weight: bold;
      text-align: center;
    }
  </style>
</head>
<body>
<div class="text"> 我是文本</div>
<div class="text">
<span>span</span>
</div>
<span>span</span>
<h1>h1</h1>
</body>
</html>
